package com.example.designpattern.template;

public abstract class Cook {
    public abstract void washFood();
    public abstract void cookFood();
    public abstract void takeOutFood();
    void cook(){
        washFood();
        cookFood();
        takeOutFood();
    }
}
